package br.com.fromtis.jsf.beans;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;
import org.richfaces.event.ItemChangeEvent;
import lombok.Getter;
import lombok.Setter;


@ManagedBean
@RequestScoped
@Getter
@Setter
public class PanelMenuBean {
	
	
	private String current;
	
	
	public void updateCurrent( ItemChangeEvent event ) {
		System.out.println( event.getNewItemName());
		setCurrent( event.getNewItemName() );
	}
}
